import 'package:flutter/material.dart';

/// * 作者: Tao
/// * 日期: 2024/3/20
/// * 时间: 9:57
/// * 描述: 主题类

/// 主题颜色
const kPrimaryColor = Color(0xff171616);
const kPrimaryLightColor = Color(0xff151515);
const primaryDarkColor = Color(0xff1d1d1d);
const secondaryColor = Color(0xff1f1f1f);
const secondaryLightColor = Color(0xff1c1c1c);
const secondaryDarkColor = Color(0xff000000);

/// 主题数据
ThemeData get appThemeData => ThemeData(
    primaryColor: kPrimaryColor,
    primaryColorLight: kPrimaryLightColor,
    scaffoldBackgroundColor: Colors.white,
    appBarTheme: appBarTheme,
    textTheme: const TextTheme());

AppBarTheme get appBarTheme => const AppBarTheme();